<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!--头部资源引用-->
<head th:fragment="head(title)">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title th:replace="${title}">博客详情</title>
    <link rel="stylesheet" href="../static/css/me.css" th:href="@{/css/me.css}">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">
    <link rel="stylesheet" href="../static/css/typo.css" th:href="@{/css/typo.css}">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
    <link rel="stylesheet" href="../static/lib/prism/prism.css" th:href="@{/lib/prism/prism.css}">
    <link rel="stylesheet" href="../static/lib/toc/tocbot.css" th:href="@{/lib/toc/tocbot.css}">
    <link rel="stylesheet" href="../../static/lib/editormd/css/editormd.min.css" th:href="@{/lib/editormd/css/editormd.min.css}">
</head>
<body>
<!--导航-->
<nav th:fragment="menu(n)" class="ui vertical segment m-padded-tb-mini">
    <div class="ui container">
        <div class="ui secondary stackable menu">
            <h2 class="ui violet header item">管理后台</h2>
            <a href="#" th:href="@{/admin/blogs}" class="m-item violet item m-mobile-hide" th:classappend="${n==1} ? 'active'"><i class="home icon"></i> 博客</a>
            <a href="#" th:href="@{/admin/types}" class="m-item violet item m-mobile-hide" th:classappend="${n==2} ? 'active'"><i class="idea icon"></i> 分类</a>
            <a href="#" th:href="@{/admin/tags}" class="m-item violet item m-mobile-hide" th:classappend="${n==3} ? 'active'"><i class="tags icon"></i> 标签</a>
            <div class="m-item m-mobile-hide right menu">
                <div class="m-item ui dropdown item">
                    <div class="text">
                        <img src="https://unsplash.it/100/100?image=1006" class="ui avatar image">
                        南望
                    </div>
                    <i class="dropdown icon"></i>
                    <div class="m-item menu">
                        <a href="#" th:href="@{/admin/logout}" class="item">注销</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <a href="#" class="ui menu toggle icon button m-right-top m-mobile-show">
        <i class="sidebar icon"></i>
    </a>
</nav>

<!--底部-->
<footer th:fragment="footer" class="ui attached segment m-padded-tb-massive">
    <div class="ui center aligned container">
        <div class="ui stackable    divided grid">
            <div class="four wide column">
                <h4 class="ui    header m-opacity-mini">最新博客</h4>
                <div class="ui    link list">
                    <a href="#" class="item">Springboot原理浅析</a>
                    <a href="#" class="item">Leetcode刻意练习</a>
                    <a href="#" class="item">贪吃蛇小游戏</a>
                </div>
            </div>
            <div class="four wide column">
                <h4 class="ui    header m-opacity-mini">最新博客</h4>
                <div class="ui    link list">
                    <a href="#" class="item">Springboot原理浅析</a>
                    <a href="#" class="item">Leetcode刻意练习</a>
                    <a href="#" class="item">贪吃蛇小游戏</a>
                </div>
            </div>
            <div class="eight wide column">
                <h4 class="ui    header m-opacity-mini">关于我</h4>
                <p class="m-opacity-mini">这是我的个人博客，主要记录一些技术笔记。偶尔记录生活和感悟，希望可以帮到每个来到这里的人</p>
            </div>
        </div>
        <div class="ui    section divider"></div>
        <p class="m-text-spaced m-opacity-mini m-text-thin">Copyright @ 2020 - 2021 Saw96x Designed by Saw96x</p>
    </div>
</footer>

</body>
</html>